package com.tzbank.consumer;

import java.util.Map;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
/**
 * 
 * 后管平台
 * @author tzbank
 *
 */
@FeignClient(value="tzbank-backstage")
public interface BackstageServiceScheduler {

	/**
	 * 服务评价配置
	 * @param map
	 * @return
	 */
    @PostMapping("/getlistService")
    Map<String,Object> getlistService(@RequestBody Map<String,Object> map);
    @PostMapping("/addService")
    Map<String,Object> addService(@RequestBody Map<String,Object> map);
    @PostMapping("/modifyByserviceautoId")
    Map<String,Object> modifyByserviceautoId(@RequestBody Map<String,Object> map);
    @PostMapping("/deleteByserviceautoId")
    Map<String,Object> deleteByserviceautoId(@RequestBody Map<String,Object> map);
    /**
     * 产品评价配置
     * @param map
     * @return
     */
    @PostMapping("/getlistProduct")
    Map<String,Object> getlistProduct(@RequestBody Map<String,Object> map);
    @PostMapping("/addProduct")
    Map<String,Object> addProduct(@RequestBody Map<String,Object> map);
    @PostMapping("/modifyByproductautoId")
    Map<String,Object> modifyByproductautoId(@RequestBody Map<String,Object> map);
    @PostMapping("/deleteByproductautoId")
    Map<String,Object> deleteByproductautoId(@RequestBody Map<String,Object> map);
    /**
     * 积分管理配置
     * @param map
     * @return
     */
    @PostMapping("/getlistIntegral")
    Map<String,Object> getlistIntegral(@RequestBody Map<String,Object> map);
    @PostMapping("/addIntegral")
    Map<String,Object> addIntegral(@RequestBody Map<String,Object> map);
    @PostMapping("/modifyByintegralautoId")
    Map<String,Object> modifyByintegralautoId(@RequestBody Map<String,Object> map);
    @PostMapping("/deleteByintegralautoId")
    Map<String,Object> deleteByintegralautoId(@RequestBody Map<String,Object> map);
    /**
     * 抽奖管理配置
     * @param map
     * @return
     */
    @PostMapping("/getlistLottery")
    Map<String,Object> getlistLottery(@RequestBody Map<String,Object> map);
    @PostMapping("/addLottery")
    Map<String,Object> addLottery(@RequestBody Map<String,Object> map);
    @PostMapping("/modifyBylotteryautoId")
    Map<String,Object> modifyBylotteryautoId(@RequestBody Map<String,Object> map);
    @PostMapping("/deleteBylottauto")
    Map<String,Object> deleteBylottauto(@RequestBody Map<String,Object> map);
    /**
     * 营销活动配置
     * @param map
     * @return
     */
    @PostMapping("/getlistMarket")
    Map<String,Object> getlistMarket(@RequestBody Map<String,Object> map);
    @PostMapping("/addMarket")
    Map<String,Object> addMarket(@RequestBody Map<String,Object> map);
    @PostMapping("/modifyByMarketautoId")
    Map<String,Object> modifyByMarketautoId(@RequestBody Map<String,Object> map);
    @PostMapping("/deleteByMarketautoId")
    Map<String,Object> deleteByMarketautoId(@RequestBody Map<String,Object> map);
}
